package com.traffic.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 机动车表
 * </p>
 *
 * @author Hongyue Wang
 * @since 2017-04-20
 */
@TableName("TRAFFIC_MOTOR")
public class TrafficMotor extends Model<TrafficMotor> {

    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 机动车所有人姓名
     */
	@TableField("MOTOR_USERNAME")
	private String motorUsername;
    /**
     * 机动车所有人手机号
     */
	@TableField("MOTOR_MOBILE")
	private String motorMobile;
    /**
     * 机动车所有人身份证号
     */
	@TableField("MOTOR_CARDID")
	private String motorCardid;
    /**
     * 车牌号码
     */
	@TableField("MOTOR_PLATE_NUMBER")
	private String motorPlateNumber;
    /**
     * 机动车后六位
     */
	@TableField("MOTOR_ENGINE")
	private String motorEngine;
    /**
     * 车型
     */
	@TableField("MOTOR_TYPE")
	private Integer motorType;
    /**
     * 车身颜色
     */
	@TableField("MOTOR_COLOR")
	private String motorColor;
    /**
     * 机动车型号
     */
	@TableField("MOTOR_MODEL")
	private String motorModel;
    /**
     * 是否报废
     */
	@TableField("IS_SCRAP")
	private String isScrap;
    /**
     * 是否删除
     */
	@TableField("IS_DELETE")
	private String isDelete;
    /**
     * 添加人
     */
	@TableField("CREAT_USER_ID")
	private Integer creatUserId;
    /**
     * 添加时间
     */
	@TableField("CREAT_TIME")
	private String creatTime;
    /**
     * 修改人
     */
	@TableField("EDIT_USER_ID")
	private Integer editUserId;
    /**
     * 修改时间
     */
	@TableField("EDIT_TIME")
	private String editTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMotorUsername() {
		return motorUsername;
	}

	public void setMotorUsername(String motorUsername) {
		this.motorUsername = motorUsername;
	}

	public String getMotorMobile() {
		return motorMobile;
	}

	public void setMotorMobile(String motorMobile) {
		this.motorMobile = motorMobile;
	}

	public String getMotorCardid() {
		return motorCardid;
	}

	public void setMotorCardid(String motorCardid) {
		this.motorCardid = motorCardid;
	}

	public String getMotorPlateNumber() {
		return motorPlateNumber;
	}

	public void setMotorPlateNumber(String motorPlateNumber) {
		this.motorPlateNumber = motorPlateNumber;
	}

	public String getMotorEngine() {
		return motorEngine;
	}

	public void setMotorEngine(String motorEngine) {
		this.motorEngine = motorEngine;
	}

	public Integer getMotorType() {
		return motorType;
	}

	public void setMotorType(Integer motorType) {
		this.motorType = motorType;
	}

	public String getMotorColor() {
		return motorColor;
	}

	public void setMotorColor(String motorColor) {
		this.motorColor = motorColor;
	}

	public String getMotorModel() {
		return motorModel;
	}

	public void setMotorModel(String motorModel) {
		this.motorModel = motorModel;
	}

	public String getIsScrap() {
		return isScrap;
	}

	public void setIsScrap(String isScrap) {
		this.isScrap = isScrap;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getCreatUserId() {
		return creatUserId;
	}

	public void setCreatUserId(Integer creatUserId) {
		this.creatUserId = creatUserId;
	}

	public String getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(String creatTime) {
		this.creatTime = creatTime;
	}

	public Integer getEditUserId() {
		return editUserId;
	}

	public void setEditUserId(Integer editUserId) {
		this.editUserId = editUserId;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TrafficMotor{" +
				"id=" + id +
				", motorUsername='" + motorUsername + '\'' +
				", motorMobile='" + motorMobile + '\'' +
				", motorCardid='" + motorCardid + '\'' +
				", motorPlateNumber='" + motorPlateNumber + '\'' +
				", motorEngine='" + motorEngine + '\'' +
				", motorType=" + motorType +
				", motorColor='" + motorColor + '\'' +
				", motorModel='" + motorModel + '\'' +
				", isScrap='" + isScrap + '\'' +
				", isDelete='" + isDelete + '\'' +
				", creatUserId=" + creatUserId +
				", creatTime='" + creatTime + '\'' +
				", editUserId=" + editUserId +
				", editTime='" + editTime + '\'' +
				'}';
	}
}
